Skip to content

Avoid making difference between 15pins and 22pins raspberry pi CSI connector #91983

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

avolmat-st
Copy link
Collaborator

A first nexus has been introduced for the raspberry pi 22pins CSI connector. There are also 15pins CSI connectors as well as also 15pins to 22pins conversion cables.
As far as GPIO are concerned there are only 4 pins importants in those connectors, IO0 / IO1 / I2C_SCL and I2C_SDA.
The other pins are directly connected to CSI PHY for which Zephyr doesn't have much to do.

In order to avoid having to deal with 2 kinds of connectors / nexus and having to figure a way to deal with cases when a conversion cable is being used, simply have the gpio-nexus list only the 4 GPIOs.

The other commits update DTSI and overlay to update the csi-22pins into simply csi.

Follwing this, I will update the PR #91837 and PR #88011 should also be updated.

erwango
erwango previously approved these changes Jun 23, 2025
mathieuchopstm
mathieuchopstm previously approved these changes Jun 23, 2025
josuah
josuah previously approved these changes Jun 23, 2025
gautierg-st
gautierg-st previously approved these changes Jun 23, 2025
@erwango erwango added this to the v4.2.0 milestone Jun 26, 2025
@josuah josuah added the area: Video Video subsystem label Jun 26, 2025
# Copyright 2025 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0

description: |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a title:, please, otherwise this will look really odd/wrong in boards' documentation

I guess you want something like "GPIO pins exposed on the Raspberry Pi CSI Camera connector".

# SPDX-License-Identifier: Apache-2.0

description: |
There are 2 variants of the Raspberry Pi CSI camera connector. Either 15pins
Copy link
Collaborator

@kartben kartben Jun 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kind of a nit but since you need to add the title anyway:

15pins --> 15-pin
22pins --> 22-pin

fix everywhere

Alain Volmat added 3 commits June 26, 2025 12:49
…ctor

Update the RaspberryPi CSI camera connector nexus gpio in order to only
expose the list of GPIO pins in order to support both 15-pin and 22-pin
connectors as well as 15-pin to 22-pin conversion cables.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Following renaming of the raspberry csi connector nexus,
rename all places when csi 22pins is mentioned to only keep
csi instead.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Following renaming of the raspberry csi connector nexus,
rename all places when csi 22pins is mentioned to only keep
csi instead.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
@avolmat-st avolmat-st dismissed stale reviews from josuah, mathieuchopstm, and erwango via 3300de6 June 26, 2025 10:52
@avolmat-st avolmat-st force-pushed the pr-video_csi-nexus-fix branch from c08d628 to 3300de6 Compare June 26, 2025 10:52
@avolmat-st
Copy link
Collaborator Author

Thanks @kartben, I updated the yaml file and used your proposal as title.

Copy link

@avolmat-st avolmat-st requested a review from erwango June 26, 2025 11:34
@danieldegrasse danieldegrasse merged commit a8d2699 into zephyrproject-rtos:main Jun 26, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: GPIO area: Shields Shields (add-on boards) area: Video Video subsystem platform: STM32 ST Micro STM32
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants